package com.cyz.admin.vo;

import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class CommentVo {

    private Integer id;
    private Integer cardId;
    private Integer rootId;
    private String content;
    private Integer toCommentUserId;
    private Integer toCommentId;
    private Integer createBy;
    private Date createTime;
    //评论人昵称
    private String username;
    //评论人头像
    private String avatar;
    //被评论人昵称
    private String toCommentUserName;
    //子评论
    private List<CommentVo> children;
}
